← Index
NYTProf Performance Profile   
For ../prof.pl
  Run on Thu Dec 15 15:23:56 2022
Reported on Thu Dec 15 15:27:04 2022

Filename(eval 366)[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Sub/Quote.pm:3]
StatementsExecuted 77 statements in 304µs
Eval Invoked At/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Sub/Quote.pm line 3
Sibling evals1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
2942136µs186µsJSON::Schema::Modern::::_json_decoder JSON::Schema::Modern::_json_decoder
11110µs29µsJSON::Schema::Modern::::BEGIN@7.223 JSON::Schema::Modern::BEGIN@7.223
1114µs13µsMethod::Generate::Accessor::_Generated::::BEGIN@24.225Method::Generate::Accessor::_Generated::BEGIN@24.225
1113µs3µsMethod::Generate::Accessor::_Generated::::BEGIN@12.224Method::Generate::Accessor::_Generated::BEGIN@12.224
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1{
221µs my $_UNQUOTED = ${$_[1]->{"\$_UNQUOTED"}};
310s my $_QUOTED = ${$_[1]->{"\$_QUOTED"}};
410s my $isa_check_for__5fjson_5fdecoder = ${$_[1]->{"\$isa_check_for__5fjson_5fdecoder"}};
510s my $default_for__5fjson_5fdecoder = ${$_[1]->{"\$default_for__5fjson_5fdecoder"}};
6 package JSON::Schema::Modern;
7241µs248µs
# spent 29µs (10+19) within JSON::Schema::Modern::BEGIN@7.223 which was called: # once (10µs+19µs) by Sub::Quote::_clean_eval at line 7
no warnings 'closure';
# spent 29µs making 1 call to JSON::Schema::Modern::BEGIN@7.223 # spent 19µs making 1 call to warnings::unimport
8
# spent 186µs (136+50) within JSON::Schema::Modern::_json_decoder which was called 29 times, avg 6µs/call: # 8 times (57µs+0s) by JSON::Schema::Modern::_get_or_load_resource at line 825 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm, avg 7µs/call # 8 times (7µs+0s) by List::Util::first at line 174 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm, avg 875ns/call # 7 times (48µs+0s) by JSON::Schema::Modern::add_schema at line 170 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm, avg 7µs/call # 6 times (24µs+50µs) by JSON::Schema::Modern::Document::OpenAPI::_add_vocab_and_default_schemas at line 204 of JSON/Schema/Modern/Document/OpenAPI.pm, avg 12µs/call
sub _json_decoder {
9 ($_QUOTED,$_UNQUOTED) if 0;
10# BEGIN quote_sub PRELUDE
11package Method::Generate::Accessor::_Generated;
12
# spent 3µs within Method::Generate::Accessor::_Generated::BEGIN@12.224 which was called: # once (3µs+0s) by Sub::Quote::_clean_eval at line 17
BEGIN {
1311µs $^H = 1762;
1410s ${^WARNING_BITS} = "UUUUUUUUUUUUUUUUUUUU";
1513µs %^H = (
16 );
17135µs13µs}
18# END quote_sub PRELUDE
192915µs Carp::croak("_json_decoder is a read-only accessor") if @_ > 1;
20exists $_[0]->{"_json_decoder"} ?
21$_[0]->{"_json_decoder"}
2229118µs: do {
2312µs147µs my $value = $default_for__5fjson_5fdecoder->($_[0]);
24579µs525µs
# spent 13µs (4+9) within Method::Generate::Accessor::_Generated::BEGIN@24.225 which was called: # once (4µs+9µs) by Sub::Quote::_clean_eval at line 24
do { no warnings "void"; package Type::Tiny; (( Scalar::Util::blessed($value) and not grep(!$value->can($_), qw/encode decode/) )) or Type::Tiny::_failed_check($isa_check_for__5fjson_5fdecoder, "HasMethods[\"encode\",\"decode\"]", $value, "attribute_name","_json_decoder","attribute_step","isa check","mgaca","0","varname","\$self->{\"_json_decoder\"}"); $value };
# spent 13µs making 1 call to Method::Generate::Accessor::_Generated::BEGIN@24.225 # spent 9µs making 1 call to warnings::unimport # spent 2µs making 2 calls to UNIVERSAL::can, avg 1µs/call # spent 1µs making 1 call to Scalar::Util::blessed
2514µs $_[0]->{"_json_decoder"} = $value
26 }
27 }
2811µs $$_UNQUOTED = \&_json_decoder;
29}
3014µs1;
31
32;